package com.raylu.app

import com.alibaba.fastjson.JSON
import com.alibaba.fastjson.serializer.SerializeConfig
import com.raylu.bean.Person

import scala.collection.mutable

/**
 *
 * Description:
 *
 * Create by lucienoz on 2021/11/26.
 * Copyright © 2021 lucienoz. All rights reserved.
 */
object test {
	def main(args : Array[String]) : Unit = {
		val person = new Person ( "小花", 13 )

		val str : String = JSON.toJSONString ( person, new SerializeConfig ( true ) )
		println ( str )

		val set : mutable.Set[String] = mutable.Set[String] ("1")
		set ( "1" )
		set("test2")
		set.add("test1")
		set.add("test2")



		println ( "-----"+set )

	}

}
